Builder

class Builder

A builder of LoadUrlParams.

Builders are created by invoking newBuilder. Each of the setter methods modifies the state of the builder and returns the same instance. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.

Functions

Link copied to clipboard
Adds an extra HTTP header to the HTTP headers that will be sent to the resource.
Link copied to clipboard
open fun build(): LoadUrlParams
Returns a new LoadUrlParams instance built from the current state of this builder.
Link copied to clipboard
Sets the upload data as a sequence of bytes that will be sent to the resource.
Sets the upload data in the application/x-www-form-urlencoded format that will be sent to the resource.
Sets the upload data in the multipart/form-data format that will be sent to the resource.
Sets the upload data in the text/plain format that will be sent to the resource.